ICompositionModelBehavior

StockSharp.Diagram

ICompositionModel behavior.

Реализует: ICloneable

Свойства

IsUndoManagerSuspended : bool

Undo manager is suspended if this property is set to true.

Modifiable : bool

Is it possible to edit a composite element diagram.

Nodes : IEnumerable<T>

Nodes.

UndoManager : IUndoManager

IUndoManager

Методы

AddNode(T)

Add node.

node
CommitTransaction(string) : bool

Commit transaction.

name
Operation name.

Возвращает: Operation result.

FindNodeByKey(string) : T

Find node by key.

key
Key.
GetLinksForNode(T) : IEnumerable<T>

Get all links for the specified node.

node

Возвращает: Links.

RaiseCommited(string, T, IUndoableEdit)

Raise commited event.

name
Opeation name.
node
op
IUndoableEdit
RaiseLinksRemoved(T)

Raise links removed event.

node
RaiseSocketAdded(T)

Raise socket added event.

node
RemoveNode(T)

Remove node.

node
RollbackTransaction() : bool

Rollback transaction.

Возвращает: Operation result.

StartTransaction(string) : bool

Start transaction.

name
Operation name.

Возвращает: Operation result.

События